import request from "../../http";

const categoryApi = {
  async getAllArticle(parmas) {
    return request({
      url: "api/category/article/list",
      method: "get",
      data: parmas
    });
  },
  async getAllCategory() {
    return request({
      url: "/pc/article/category/son",
      method: "get"
    });
  }
};

export default categoryApi;
